﻿using System;
using System.ComponentModel.DataAnnotations;

namespace NandleNF.DataType.Pessoa
{
    [Serializable()]
    [Table("Pessoa")]
    public class TPessoa
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 PessoaID { get; set; }

        [Required]
        [StringLength(100)]
        public String Nome { get; set; }

        #region [ Auditoria ]

        public System.Nullable<DateTime> DataInclusao { get; set; }

        [StringLength(15)]
        public String IpUsuarioInclusao { get; set; }

        [StringLength(30)]
        public String NomeUsuarioInclusao { get; set; }

        public DateTime DataAlteracao { get; set; }

        [StringLength(15)]
        public String IpUsuarioAlteracao { get; set; }

        [StringLength(30)]
        public String NomeUsuarioAlteracao { get; set; }

        #endregion
    }
}
